var arrayLike={
    '0':1,
    '1':2,
    '2':3,
    length:3
};
var ary=Array.from(arrayLike,(item)=>{
    return item*2;
})
// var ary =Array.from(arrayLike,item=>item*2)
console.log(ary);